#ifndef _PACKET_CONNECTION_H
#define _PACKET_CONNECTION_H

#include "../Packet.h"

class PacketSetupConnecion : public Packet
{
public:
	PacketSetupConnecion(int _id,int _checksum);
	virtual bool write(SimpleBuf& pBuf);
	virtual bool read(SimpleBuf& pBuf);
	virtual void process(void*);
	int GetConID()const{return m_nConID;}
	int GetCheckSum()const{return m_nCheckSum;}
private:
	int m_nConID;
	int m_nCheckSum;
};


#endif